Chicago 2014 - Proposal

Gold sponsors

Back to proposals overview - program

How to effectively iterate on your Ansible Playbooks using Vagrant and Docker

Abstract

Ansible is super flexible, we use it in a number of different scenarios such as building projects, continuous delivery, and configuration management. I have been using Ansible for some time now to manage my companies infrastructure. The infrastructure consists of many application spread over many servers. With this type of architecture it's easy to run a portion of the system locally, but trying to run more than a couple of Vagrant VMs will quickly max out your laptops resources. To be sure your playbooks work completely you need to regularly destroy your infrastructure and bring it backup again from scratch. You need a way to efficiently simulate the whole infrastructure on your laptop so that you can verify the repeatability of your Playbooks locally before pushing it to staging or production.

Don't worry, there is hope, Docker is here to help. With a single Vagrant image and Docker you can efficiently emulate you full infrastructure on your laptop. By running multiple Docker containers inside that single Vagrant vm you can efficiently iterate on your Ansible Playbooks. In this fast paced talk I will go over how to setup Vagrant and configure your Docker containers so that you can access them with Ansible. Next I will go over my build, test, learn loop to quickly iterate my Ansible Playbooks until they are ready for production use.

blog comments powered by Disqus
Signal Datadog CloudBees ScriptRock CHEF Rackspace XebiaLabs Elasticsearch Microsoft Orbitz Circonus


Silver sponsors

DRW Trading VictorOps ServerCentral Puppet Labs Enova 10th Magnitude


Bronze sponsors

Opinion Lab


Media sponsors

O'Reilly Media Arrested DevOps Food Fight Show The Ship Show Blacks in Technology


Wifi sponsors

Cisco Meraki Backstop Solutions Group